home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 April: Mac OS SDK / Dev.CD Apr 97 SDK1.toast / Development Kits (Disc 1) / Interfaces&Libraries / Interfaces / AIncludes / GXErrors.a < prev    next >
Encoding:
Text File  |  1996-01-24  |  35.9 KB  |  858 lines  |  [TEXT/MPS ]

  1. ;
  2. ;    File:        GXErrors.a
  3. ;
  4. ;    Contains:    QuickDraw GX error constants and debugging routines
  5. ;
  6. ;    Version:    Technology:    Quickdraw GX 1.1
  7. ;                Package:    Universal Interfaces 2.2 in “MPW” on ETO #20
  8. ;
  9. ;    Copyright:    © 1984-1995 by Apple Computer, Inc.
  10. ;                All rights reserved.
  11. ;
  12. ;    Bugs?:        If you find a problem with this file, use the Apple Bug Reporter
  13. ;                stack.  Include the file and version information (from above)
  14. ;                in the problem description and send to:
  15. ;                    Internet:    apple.bugs@applelink.apple.com
  16. ;                    AppleLink:    APPLE.BUGS
  17. ;
  18. ;
  19.  
  20.     IF &TYPE('__GXERRORS__') = 'UNDEFINED' THEN
  21. __GXERRORS__ SET 1
  22.  
  23.  
  24.     IF &TYPE('__CONDITIONALMACROS__') = 'UNDEFINED' THEN
  25.     include 'ConditionalMacros.a'
  26.     ENDIF
  27.  
  28.     IF &TYPE('__MIXEDMODE__') = 'UNDEFINED' THEN
  29.     include 'MixedMode.a'
  30.     ENDIF
  31. ;        include 'Types.a'                                            ;
  32.  
  33.     IF &TYPE('__GXTYPES__') = 'UNDEFINED' THEN
  34.     include 'GXTypes.a'
  35.     ENDIF
  36. ;        include 'GXMath.a'                                            ;
  37. ;            include 'FixMath.a'                                    ;
  38.     graphicsErrorsIncludes: SET 1
  39.  
  40. gxFirstSystemError                EQU        -27999                ; 0xffff92a1 
  41. gxFirstFatalError                EQU        -27999
  42. gxLastFatalError                EQU        -27951
  43. gxFirstNonfatalError            EQU        -27950
  44. gxFirstFontScalerError            EQU        -27900
  45. gxLastFontScalerError            EQU        -27851
  46. gxFirstParameterError            EQU        -27850
  47. gxFirstImplementationLimitError    EQU        -27800
  48. gxFirstSystemDebuggingError        EQU        -27700
  49. gxLastSystemError                EQU        -27000                ; 0xffff9688 
  50. gxFirstLibraryError                EQU        1048576                ; 0x00100000 
  51. gxLastLibraryError                EQU        2097151                ; 0x001fffff 
  52. gxFirstAppError                    EQU        2097152                ; 0x00200000 
  53. gxLastAppError                    EQU        4194303                ; 0x003fffff 
  54. gxFirstSystemWarning            EQU        -26999                ; 0xffff9689 
  55. gxFirstResultOutOfRangeWarning    EQU        -26950
  56. gxFirstParameterOutOfRangeWarning EQU        -26900
  57. gxFirstFontScalerWarning        EQU        -26850
  58. gxFirstSystemDebuggingWarning    EQU        -26700
  59. gxLastSystemWarning                EQU        -26000                ; 0xffff9a70 
  60. gxFirstLibraryWarning            EQU        4194304                ; 0x00400000 
  61. gxLastLibraryWarning            EQU        5242879                ; 0x004fffff 
  62. gxFirstAppWarning                EQU        5242880                ; 0x00500000 
  63. gxLastAppWarning                EQU        7340031                ; 0x006fffff 
  64. gxFirstSystemNotice                EQU        -25999                ; 0xffff9a71 
  65. gxLastSystemNotice                EQU        -25500                ; 0xffff9c64 
  66. gxFirstLibraryNotice            EQU        7340032                ; 0x00700000 
  67. gxLastLibraryNotice                EQU        7602175                ; 0x0073ffff 
  68. gxFirstAppNotice                EQU        7602176                ; 0x00740000 
  69. gxLastAppNotice                    EQU        8388607                ; 0x007fffff 
  70.  
  71. ; truly fatal errors 
  72. out_of_memory                    EQU        gxFirstFatalError
  73. internal_fatal_error            EQU        gxFirstFatalError + 1
  74. no_outline_font_found            EQU        gxFirstFatalError + 2
  75. not_enough_memory_for_graphics_client_heap EQU        gxFirstFatalError + 3
  76. could_not_create_backing_store    EQU        gxFirstFatalError + 4
  77. ; internal errors 
  78. internal_error                    EQU        gxFirstNonfatalError
  79. internal_font_error                EQU        gxFirstNonfatalError + 1
  80. internal_layout_error            EQU        gxFirstNonfatalError + 2
  81. ; recoverable errors 
  82. could_not_dispose_backing_store    EQU        internal_layout_error + 2
  83. unflattening_interrupted_by_client EQU        internal_layout_error + 3
  84. ; font manager errors 
  85. font_cannot_be_changed            EQU        internal_layout_error + 4
  86. illegal_font_parameter            EQU        internal_layout_error + 5
  87. ; gxFont scaler errors 
  88. null_font_scaler_context        EQU        gxFirstFontScalerError
  89. null_font_scaler_input            EQU        gxFirstFontScalerError + 1
  90. invalid_font_scaler_context        EQU        gxFirstFontScalerError + 2
  91. invalid_font_scaler_input        EQU        gxFirstFontScalerError + 3
  92. invalid_font_scaler_font_data    EQU        gxFirstFontScalerError + 4
  93. font_scaler_newblock_failed        EQU        gxFirstFontScalerError + 5
  94. font_scaler_getfonttable_failed    EQU        gxFirstFontScalerError + 6
  95. font_scaler_bitmap_allocation_failed EQU        gxFirstFontScalerError + 7
  96. font_scaler_outline_allocation_failed EQU        gxFirstFontScalerError + 8
  97. required_font_scaler_table_missing EQU        gxFirstFontScalerError + 9
  98. unsupported_font_scaler_outline_format EQU        gxFirstFontScalerError + 10
  99. unsupported_font_scaler_stream_format EQU        gxFirstFontScalerError + 11
  100. unsupported_font_scaler_font_format EQU        gxFirstFontScalerError + 12
  101. font_scaler_hinting_error        EQU        gxFirstFontScalerError + 13
  102. font_scaler_rasterizer_error    EQU        gxFirstFontScalerError + 14
  103. font_scaler_internal_error        EQU        gxFirstFontScalerError + 15
  104. font_scaler_invalid_matrix        EQU        gxFirstFontScalerError + 16
  105. font_scaler_fixed_overflow        EQU        gxFirstFontScalerError + 17
  106. font_scaler_api_version_mismatch EQU        gxFirstFontScalerError + 18
  107. font_scaler_streaming_aborted    EQU        gxFirstFontScalerError + 19
  108. unknown_font_scaler_error        EQU        gxFirstFontScalerError + 20
  109. ; bad parameters 
  110. parameter_is_nil                EQU        gxFirstParameterError
  111. shape_is_nil                    EQU        gxFirstParameterError + 1
  112. style_is_nil                    EQU        gxFirstParameterError + 2
  113. transform_is_nil                EQU        gxFirstParameterError + 3
  114. ink_is_nil                        EQU        gxFirstParameterError + 4
  115. transferMode_is_nil                EQU        gxFirstParameterError + 5
  116. color_is_nil                    EQU        gxFirstParameterError + 6
  117. colorProfile_is_nil                EQU        gxFirstParameterError + 7
  118. colorSet_is_nil                    EQU        gxFirstParameterError + 8
  119. spoolProcedure_is_nil            EQU        gxFirstParameterError + 9
  120. tag_is_nil                        EQU        gxFirstParameterError + 10
  121. type_is_nil                        EQU        gxFirstParameterError + 11
  122. mapping_is_nil                    EQU        gxFirstParameterError + 12
  123. invalid_viewDevice_reference    EQU        gxFirstParameterError + 13
  124. invalid_viewGroup_reference        EQU        gxFirstParameterError + 14
  125. invalid_viewPort_reference        EQU        gxFirstParameterError + 15
  126. ; implementation limits, these should be right before the debugging errors 
  127. number_of_contours_exceeds_implementation_limit EQU        gxFirstImplementationLimitError
  128. number_of_points_exceeds_implementation_limit EQU        gxFirstImplementationLimitError + 1
  129. size_of_polygon_exceeds_implementation_limit EQU        gxFirstImplementationLimitError + 2
  130. size_of_path_exceeds_implementation_limit EQU        gxFirstImplementationLimitError + 3
  131. size_of_text_exceeds_implementation_limit EQU        gxFirstImplementationLimitError + 4
  132. size_of_bitmap_exceeds_implementation_limit EQU        gxFirstImplementationLimitError + 5
  133. number_of_colors_exceeds_implementation_limit EQU        gxFirstImplementationLimitError + 6
  134. procedure_not_reentrant            EQU        gxFirstImplementationLimitError + 7
  135.  
  136. ; internal debugging errors 
  137. functionality_unimplemented        EQU        gxFirstSystemDebuggingError
  138. clip_to_frame_shape_unimplemented EQU        gxFirstSystemDebuggingError + 1
  139. ; font parameter debugging errors 
  140. illegal_font_storage_type        EQU        gxFirstSystemDebuggingError + 2
  141. illegal_font_storage_reference    EQU        gxFirstSystemDebuggingError + 3
  142. illegal_font_attributes            EQU        gxFirstSystemDebuggingError + 4
  143. ; parameter debugging errors 
  144. parameter_out_of_range            EQU        gxFirstSystemDebuggingError + 5
  145. inconsistent_parameters            EQU        gxFirstSystemDebuggingError + 6
  146. index_is_less_than_zero            EQU        gxFirstSystemDebuggingError + 7
  147. index_is_less_than_one            EQU        gxFirstSystemDebuggingError + 8
  148. count_is_less_than_zero            EQU        gxFirstSystemDebuggingError + 9
  149. count_is_less_than_one            EQU        gxFirstSystemDebuggingError + 10
  150. contour_is_less_than_zero        EQU        gxFirstSystemDebuggingError + 11
  151. length_is_less_than_zero        EQU        gxFirstSystemDebuggingError + 12
  152. invalid_client_reference        EQU        gxFirstSystemDebuggingError + 13
  153. invalid_graphics_heap_start_pointer EQU        gxFirstSystemDebuggingError + 14
  154. invalid_nongraphic_globals_pointer EQU        gxFirstSystemDebuggingError + 15
  155. colorSpace_out_of_range            EQU        gxFirstSystemDebuggingError + 16
  156. pattern_lattice_out_of_range    EQU        gxFirstSystemDebuggingError + 17
  157. frequency_parameter_out_of_range EQU        gxFirstSystemDebuggingError + 18
  158. tinting_parameter_out_of_range    EQU        gxFirstSystemDebuggingError + 19
  159. method_parameter_out_of_range    EQU        gxFirstSystemDebuggingError + 20
  160. space_may_not_be_indexed        EQU        gxFirstSystemDebuggingError + 21
  161. glyph_index_too_small            EQU        gxFirstSystemDebuggingError + 22
  162. no_glyphs_added_to_font            EQU        gxFirstSystemDebuggingError + 23
  163. glyph_not_added_to_font            EQU        gxFirstSystemDebuggingError + 24
  164. point_does_not_intersect_bitmap    EQU        gxFirstSystemDebuggingError + 25
  165. required_font_table_not_present    EQU        gxFirstSystemDebuggingError + 25
  166. unknown_font_table_format        EQU        gxFirstSystemDebuggingError + 26 ; the styles encoding is not present in the font 
  167. shapeFill_not_allowed            EQU        gxFirstSystemDebuggingError + 27
  168. inverseFill_face_must_set_clipLayer_flag EQU        gxFirstSystemDebuggingError + 28
  169. invalid_transferMode_colorSpace    EQU        gxFirstSystemDebuggingError + 29
  170. colorProfile_must_be_nil        EQU        gxFirstSystemDebuggingError + 30
  171. bitmap_pixel_size_must_be_1        EQU        gxFirstSystemDebuggingError + 31
  172. empty_shape_not_allowed            EQU        gxFirstSystemDebuggingError + 32
  173. ignorePlatformShape_not_allowed    EQU        gxFirstSystemDebuggingError + 33
  174. nil_style_in_glyph_not_allowed    EQU        gxFirstSystemDebuggingError + 34
  175. complex_glyph_style_not_allowed    EQU        gxFirstSystemDebuggingError + 35
  176. invalid_mapping                    EQU        gxFirstSystemDebuggingError + 36
  177. cannot_set_item_shapes_to_nil    EQU        gxFirstSystemDebuggingError + 37
  178. cannot_use_original_item_shapes_when_growing_picture EQU        gxFirstSystemDebuggingError + 38
  179. cannot_add_unspecified_new_glyphs EQU        gxFirstSystemDebuggingError + 39
  180. cannot_dispose_locked_tag        EQU        gxFirstSystemDebuggingError + 40
  181. cannot_dispose_locked_shape        EQU        gxFirstSystemDebuggingError + 41
  182. ; restricted access 
  183. shape_access_not_allowed        EQU        gxFirstSystemDebuggingError + 42
  184. colorSet_access_restricted        EQU        gxFirstSystemDebuggingError + 43
  185. colorProfile_access_restricted    EQU        gxFirstSystemDebuggingError + 44
  186. tag_access_restricted            EQU        gxFirstSystemDebuggingError + 45
  187. viewDevice_access_restricted    EQU        gxFirstSystemDebuggingError + 46
  188. graphic_type_does_not_have_a_structure EQU        gxFirstSystemDebuggingError + 47
  189. style_run_array_does_not_match_number_of_characters EQU        gxFirstSystemDebuggingError + 48
  190. rectangles_cannot_be_inserted_into EQU        gxFirstSystemDebuggingError + 49
  191. unknown_graphics_heap            EQU        gxFirstSystemDebuggingError + 50
  192. graphics_routine_selector_is_obsolete EQU        gxFirstSystemDebuggingError + 51
  193. cannot_set_graphics_client_memory_without_setting_size EQU        gxFirstSystemDebuggingError + 52
  194. graphics_client_memory_too_small EQU        gxFirstSystemDebuggingError + 53
  195. graphics_client_memory_is_already_allocated EQU        gxFirstSystemDebuggingError + 54
  196. viewPort_is_a_window            EQU        gxFirstSystemDebuggingError + 55
  197. ; wrong type/bad reference 
  198. illegal_type_for_shape            EQU        gxFirstSystemDebuggingError + 56
  199. shape_does_not_contain_a_bitmap    EQU        gxFirstSystemDebuggingError + 57
  200. shape_does_not_contain_text        EQU        gxFirstSystemDebuggingError + 58
  201. picture_expected                EQU        gxFirstSystemDebuggingError + 59
  202. bitmap_is_not_resizable            EQU        gxFirstSystemDebuggingError + 60
  203. shape_may_not_be_a_bitmap        EQU        gxFirstSystemDebuggingError + 61
  204. shape_may_not_be_a_picture        EQU        gxFirstSystemDebuggingError + 62
  205. graphic_type_does_not_contain_points EQU        gxFirstSystemDebuggingError + 63
  206. graphic_type_does_not_have_multiple_contours EQU        gxFirstSystemDebuggingError + 64
  207. graphic_type_cannot_be_mapped    EQU        gxFirstSystemDebuggingError + 65
  208. graphic_type_cannot_be_moved    EQU        gxFirstSystemDebuggingError + 66
  209. graphic_type_cannot_be_scaled    EQU        gxFirstSystemDebuggingError + 67
  210. graphic_type_cannot_be_rotated    EQU        gxFirstSystemDebuggingError + 68
  211. graphic_type_cannot_be_skewed    EQU        gxFirstSystemDebuggingError + 69
  212. graphic_type_cannot_be_reset    EQU        gxFirstSystemDebuggingError + 70
  213. graphic_type_cannot_be_dashed    EQU        gxFirstSystemDebuggingError + 71
  214. graphic_type_cannot_be_reduced    EQU        gxFirstSystemDebuggingError + 72
  215. graphic_type_cannot_be_inset    EQU        gxFirstSystemDebuggingError + 73
  216. shape_cannot_be_inverted        EQU        gxFirstSystemDebuggingError + 74
  217. shape_does_not_have_area        EQU        gxFirstSystemDebuggingError + 75
  218. shape_does_not_have_length        EQU        gxFirstSystemDebuggingError + 76
  219. first_glyph_advance_must_be_absolute EQU        gxFirstSystemDebuggingError + 77
  220. picture_cannot_contain_itself    EQU        gxFirstSystemDebuggingError + 78
  221. viewPort_cannot_contain_itself    EQU        gxFirstSystemDebuggingError + 79
  222. cannot_set_unique_items_attribute_when_picture_contains_items EQU        gxFirstSystemDebuggingError + 80
  223. layer_style_cannot_contain_a_face EQU        gxFirstSystemDebuggingError + 81
  224. layer_glyph_shape_cannot_contain_nil_styles EQU        gxFirstSystemDebuggingError + 82
  225. ; validation errors 
  226. object_wrong_type                EQU        gxFirstSystemDebuggingError + 83
  227. shape_wrong_type                EQU        gxFirstSystemDebuggingError + 84
  228. style_wrong_type                EQU        gxFirstSystemDebuggingError + 85
  229. ink_wrong_type                    EQU        gxFirstSystemDebuggingError + 86
  230. transform_wrong_type            EQU        gxFirstSystemDebuggingError + 87
  231. device_wrong_type                EQU        gxFirstSystemDebuggingError + 88
  232. port_wrong_type                    EQU        gxFirstSystemDebuggingError + 89
  233. ; validation cache errors 
  234. shape_cache_wrong_type            EQU        gxFirstSystemDebuggingError + 90
  235. style_cache_wrong_type            EQU        gxFirstSystemDebuggingError + 91
  236. ink_cache_wrong_type            EQU        gxFirstSystemDebuggingError + 92
  237. transform_cache_wrong_type        EQU        gxFirstSystemDebuggingError + 93
  238. port_cache_wrong_type            EQU        gxFirstSystemDebuggingError + 94
  239. shape_cache_parent_mismatch        EQU        gxFirstSystemDebuggingError + 95
  240. style_cache_parent_mismatch        EQU        gxFirstSystemDebuggingError + 96
  241. ink_cache_parent_mismatch        EQU        gxFirstSystemDebuggingError + 97
  242. transform_cache_parent_mismatch    EQU        gxFirstSystemDebuggingError + 98
  243. port_cache_parent_mismatch        EQU        gxFirstSystemDebuggingError + 99
  244. invalid_shape_cache_port        EQU        gxFirstSystemDebuggingError + 100
  245. invalid_shape_cache_device        EQU        gxFirstSystemDebuggingError + 101
  246. invalid_ink_cache_port            EQU        gxFirstSystemDebuggingError + 102
  247. invalid_ink_cache_device        EQU        gxFirstSystemDebuggingError + 103
  248. invalid_style_cache_port        EQU        gxFirstSystemDebuggingError + 104
  249. invalid_style_cache_device        EQU        gxFirstSystemDebuggingError + 105
  250. invalid_transform_cache_port    EQU        gxFirstSystemDebuggingError + 106
  251. invalid_transform_cache_device    EQU        gxFirstSystemDebuggingError + 107
  252. recursive_caches                EQU        gxFirstSystemDebuggingError + 108
  253. ; validation shape cache errors 
  254. invalid_fillShape_ownerCount    EQU        gxFirstSystemDebuggingError + 109
  255. recursive_fillShapes            EQU        gxFirstSystemDebuggingError + 110
  256. ; validation memory block errors 
  257. indirect_memory_block_too_small    EQU        gxFirstSystemDebuggingError + 111
  258. indirect_memory_block_too_large    EQU        gxFirstSystemDebuggingError + 112
  259. unexpected_nil_pointer            EQU        gxFirstSystemDebuggingError + 113
  260. bad_address                        EQU        gxFirstSystemDebuggingError + 114
  261. ; validation object errors 
  262. no_owners                        EQU        gxFirstSystemDebuggingError + 115
  263. invalid_pointer                    EQU        gxFirstSystemDebuggingError + 116
  264. invalid_seed                    EQU        gxFirstSystemDebuggingError + 117
  265. invalid_frame_seed                EQU        gxFirstSystemDebuggingError + 118
  266. invalid_text_seed                EQU        gxFirstSystemDebuggingError + 119
  267. invalid_draw_seed                EQU        gxFirstSystemDebuggingError + 120
  268. bad_private_flags                EQU        gxFirstSystemDebuggingError + 121
  269. ; validation path and polygon errors 
  270. invalid_vector_count            EQU        gxFirstSystemDebuggingError + 122
  271. invalid_contour_count            EQU        gxFirstSystemDebuggingError + 123
  272. ; validation bitmap errors 
  273. bitmap_ptr_too_small            EQU        gxFirstSystemDebuggingError + 124
  274. bitmap_ptr_not_aligned            EQU        gxFirstSystemDebuggingError + 125
  275. bitmap_rowBytes_negative        EQU        gxFirstSystemDebuggingError + 126
  276. bitmap_width_negative            EQU        gxFirstSystemDebuggingError + 127
  277. bitmap_height_negative            EQU        gxFirstSystemDebuggingError + 128
  278. invalid_pixelSize                EQU        gxFirstSystemDebuggingError + 129
  279. bitmap_rowBytes_too_small        EQU        gxFirstSystemDebuggingError + 130
  280. bitmap_rowBytes_not_aligned        EQU        gxFirstSystemDebuggingError + 131
  281. bitmap_rowBytes_must_be_specified_for_user_image_buffer EQU        gxFirstSystemDebuggingError + 132
  282. ; validation bitmap image errors 
  283. invalid_bitImage_fileOffset        EQU        gxFirstSystemDebuggingError + 133
  284. invalid_bitImage_owners            EQU        gxFirstSystemDebuggingError + 134
  285. invalid_bitImage_rowBytes        EQU        gxFirstSystemDebuggingError + 135
  286. invalid_bitImage_internal_flag    EQU        gxFirstSystemDebuggingError + 136
  287. ; validation text errors 
  288. text_bounds_cache_wrong_size    EQU        gxFirstSystemDebuggingError + 137
  289. text_metrics_cache_wrong_size    EQU        gxFirstSystemDebuggingError + 138
  290. text_index_cache_wrong_size        EQU        gxFirstSystemDebuggingError + 139
  291. ; validation glyph errors 
  292. glyph_run_count_negative        EQU        gxFirstSystemDebuggingError + 140
  293. glyph_run_count_zero            EQU        gxFirstSystemDebuggingError + 141
  294. glyph_run_counts_do_not_sum_to_character_count EQU        gxFirstSystemDebuggingError + 142
  295. glyph_first_advance_bit_set_not_allowed EQU        gxFirstSystemDebuggingError + 143
  296. glyph_tangent_vectors_both_zero    EQU        gxFirstSystemDebuggingError + 144
  297. ; validation layout errors 
  298. layout_run_length_negative        EQU        gxFirstSystemDebuggingError + 145
  299. layout_run_length_zero            EQU        gxFirstSystemDebuggingError + 146
  300. layout_run_level_negative        EQU        gxFirstSystemDebuggingError + 147
  301. layout_run_lengths_do_not_sum_to_text_length EQU        gxFirstSystemDebuggingError + 148
  302. ; validation picture errors 
  303. bad_shape_in_picture            EQU        gxFirstSystemDebuggingError + 149
  304. bad_style_in_picture            EQU        gxFirstSystemDebuggingError + 150
  305. bad_ink_in_picture                EQU        gxFirstSystemDebuggingError + 151
  306. bad_transform_in_picture        EQU        gxFirstSystemDebuggingError + 152
  307. bad_shape_cache_in_picture        EQU        gxFirstSystemDebuggingError + 153
  308. bad_seed_in_picture                EQU        gxFirstSystemDebuggingError + 154
  309. invalid_picture_count            EQU        gxFirstSystemDebuggingError + 155
  310. ; validation text face errors 
  311. bad_textLayer_count                EQU        gxFirstSystemDebuggingError + 156
  312. bad_fillType_in_textFace        EQU        gxFirstSystemDebuggingError + 157
  313. bad_style_in_textFace            EQU        gxFirstSystemDebuggingError + 158
  314. bad_transform_in_textFace        EQU        gxFirstSystemDebuggingError + 159
  315. ; validation transform errors 
  316. invalid_matrix_flag                EQU        gxFirstSystemDebuggingError + 160
  317. transform_clip_missing            EQU        gxFirstSystemDebuggingError + 161
  318. ; validation font cache errors 
  319. metrics_wrong_type                EQU        gxFirstSystemDebuggingError + 162
  320. metrics_point_size_probably_bad    EQU        gxFirstSystemDebuggingError + 163
  321. scalar_block_wrong_type            EQU        gxFirstSystemDebuggingError + 164
  322. scalar_block_parent_mismatch    EQU        gxFirstSystemDebuggingError + 165
  323. scalar_block_too_small            EQU        gxFirstSystemDebuggingError + 166
  324. scalar_block_too_large            EQU        gxFirstSystemDebuggingError + 167
  325. invalid_metrics_range            EQU        gxFirstSystemDebuggingError + 168
  326. invalid_metrics_flags            EQU        gxFirstSystemDebuggingError + 169
  327. metrics_maxWidth_probably_bad    EQU        gxFirstSystemDebuggingError + 170
  328. font_wrong_type                    EQU        gxFirstSystemDebuggingError + 171
  329. font_wrong_size                    EQU        gxFirstSystemDebuggingError + 172
  330. invalid_font_platform            EQU        gxFirstSystemDebuggingError + 173
  331. invalid_lookup_range            EQU        gxFirstSystemDebuggingError + 174
  332. invalid_lookup_platform            EQU        gxFirstSystemDebuggingError + 175
  333. font_not_in_font_list            EQU        gxFirstSystemDebuggingError + 176
  334. metrics_not_in_metrics_list        EQU        gxFirstSystemDebuggingError + 177
  335. ; validation view device errors 
  336. bad_device_private_flags        EQU        gxFirstSystemDebuggingError + 178
  337. bad_device_attributes            EQU        gxFirstSystemDebuggingError + 179
  338. invalid_device_number            EQU        gxFirstSystemDebuggingError + 180
  339. invalid_device_viewGroup        EQU        gxFirstSystemDebuggingError + 181
  340. invalid_device_bounds            EQU        gxFirstSystemDebuggingError + 182
  341. invalid_bitmap_in_device        EQU        gxFirstSystemDebuggingError + 183
  342. ; validation color set errors 
  343. colorSet_wrong_type                EQU        gxFirstSystemDebuggingError + 184
  344. invalid_colorSet_viewDevice_owners EQU        gxFirstSystemDebuggingError + 185
  345. invalid_colorSet_colorSpace        EQU        gxFirstSystemDebuggingError + 186
  346. invalid_colorSet_count            EQU        gxFirstSystemDebuggingError + 187
  347. ; validation color profile errors 
  348. colorProfile_wrong_type            EQU        gxFirstSystemDebuggingError + 188
  349. invalid_colorProfile_flags        EQU        gxFirstSystemDebuggingError + 189
  350. invalid_colorProfile_response_count EQU        gxFirstSystemDebuggingError + 190
  351. ; validation internal backing store errors 
  352. backing_free_parent_mismatch    EQU        gxFirstSystemDebuggingError + 191
  353. backing_store_parent_mismatch    EQU        gxFirstSystemDebuggingError + 192
  354.  
  355. ; warnings about warnings 
  356. warning_stack_underflow            EQU        gxFirstSystemWarning
  357. warning_stack_overflow            EQU        gxFirstSystemWarning + 1
  358. notice_stack_underflow            EQU        gxFirstSystemWarning + 2
  359. notice_stack_overflow            EQU        gxFirstSystemWarning + 3
  360. about_to_grow_heap                EQU        gxFirstSystemWarning + 4
  361. about_to_unload_objects            EQU        gxFirstSystemWarning + 5
  362. ; result went out of range 
  363. map_shape_out_of_range            EQU        gxFirstResultOutOfRangeWarning
  364. move_shape_out_of_range            EQU        gxFirstResultOutOfRangeWarning + 1
  365. scale_shape_out_of_range        EQU        gxFirstResultOutOfRangeWarning + 2
  366. rotate_shape_out_of_range        EQU        gxFirstResultOutOfRangeWarning + 3
  367. skew_shape_out_of_range            EQU        gxFirstResultOutOfRangeWarning + 4
  368. map_transform_out_of_range        EQU        gxFirstResultOutOfRangeWarning + 5
  369. move_transform_out_of_range        EQU        gxFirstResultOutOfRangeWarning + 6
  370. scale_transform_out_of_range    EQU        gxFirstResultOutOfRangeWarning + 7
  371. rotate_transform_out_of_range    EQU        gxFirstResultOutOfRangeWarning + 8
  372. skew_transform_out_of_range        EQU        gxFirstResultOutOfRangeWarning + 9
  373. map_points_out_of_range            EQU        gxFirstResultOutOfRangeWarning + 10
  374. ; gave a parameter out of range 
  375. contour_out_of_range            EQU        gxFirstParameterOutOfRangeWarning
  376. index_out_of_range_in_contour    EQU        gxFirstParameterOutOfRangeWarning + 1
  377. picture_index_out_of_range        EQU        gxFirstParameterOutOfRangeWarning + 2
  378. color_index_requested_not_found    EQU        gxFirstParameterOutOfRangeWarning + 3
  379. colorSet_index_out_of_range        EQU        gxFirstParameterOutOfRangeWarning + 4
  380. index_out_of_range                EQU        gxFirstParameterOutOfRangeWarning + 5
  381. count_out_of_range                EQU        gxFirstParameterOutOfRangeWarning + 6
  382. length_out_of_range                EQU        gxFirstParameterOutOfRangeWarning + 7
  383. font_table_index_out_of_range    EQU        gxFirstParameterOutOfRangeWarning + 8
  384. font_glyph_index_out_of_range    EQU        gxFirstParameterOutOfRangeWarning + 9
  385. point_out_of_range                EQU        gxFirstParameterOutOfRangeWarning + 10
  386. profile_response_out_of_range    EQU        gxFirstParameterOutOfRangeWarning + 11
  387. ; gxFont scaler warnings 
  388. font_scaler_no_output            EQU        gxFirstFontScalerWarning
  389. font_scaler_fake_metrics        EQU        gxFirstFontScalerWarning + 1
  390. font_scaler_fake_linespacing    EQU        gxFirstFontScalerWarning + 2
  391. font_scaler_glyph_substitution    EQU        gxFirstFontScalerWarning + 3
  392. font_scaler_no_kerning_applied    EQU        gxFirstFontScalerWarning + 4
  393. ; might not be what you expected 
  394. character_substitution_took_place EQU        gxFirstFontScalerWarning + 5
  395. unable_to_get_bounds_on_multiple_devices EQU        gxFirstFontScalerWarning + 6
  396. font_language_not_found            EQU        gxFirstFontScalerWarning + 7
  397. font_not_found_during_unflattening EQU        gxFirstFontScalerWarning + 8
  398. ;storage 
  399. unrecognized_stream_version        EQU        gxFirstFontScalerWarning + 9
  400. bad_data_in_stream                EQU        gxFirstFontScalerWarning + 10
  401.  
  402. ; nonsense data 
  403. new_shape_contains_invalid_data    EQU        gxFirstSystemDebuggingWarning
  404. new_tag_contains_invalid_data    EQU        gxFirstSystemDebuggingWarning + 1
  405. extra_data_passed_was_ignored    EQU        gxFirstSystemDebuggingWarning + 2
  406. font_table_not_found            EQU        gxFirstSystemDebuggingWarning + 3
  407. font_name_not_found                EQU        gxFirstSystemDebuggingWarning + 4
  408. ; doesn't make sense to do 
  409. unable_to_traverse_open_contour_that_starts_or_ends_off_the_curve EQU        gxFirstSystemDebuggingWarning + 5
  410. unable_to_draw_open_contour_that_starts_or_ends_off_the_curve EQU        gxFirstSystemDebuggingWarning + 6
  411. cannot_dispose_default_shape    EQU        gxFirstSystemDebuggingWarning + 7
  412. cannot_dispose_default_style    EQU        gxFirstSystemDebuggingWarning + 8
  413. cannot_dispose_default_ink        EQU        gxFirstSystemDebuggingWarning + 9
  414. cannot_dispose_default_transform EQU        gxFirstSystemDebuggingWarning + 10
  415. cannot_dispose_default_colorProfile EQU        gxFirstSystemDebuggingWarning + 11
  416. cannot_dispose_default_colorSet    EQU        gxFirstSystemDebuggingWarning + 12
  417. shape_direct_attribute_not_set    EQU        gxFirstSystemDebuggingWarning + 13
  418. ; couldn't find what you were looking for 
  419. point_does_not_intersect_port    EQU        gxFirstSystemDebuggingWarning + 14
  420. cannot_dispose_non_font            EQU        gxFirstSystemDebuggingWarning + 15
  421. face_override_style_font_must_match_style EQU        gxFirstSystemDebuggingWarning + 16
  422. union_of_area_and_length_returns_area_only EQU        gxFirstSystemDebuggingWarning + 17
  423. insufficient_coordinate_space_for_new_device EQU        gxFirstSystemDebuggingWarning + 18
  424. ; other 
  425. shape_passed_has_no_bounds        EQU        gxFirstSystemDebuggingWarning + 19
  426. tags_of_type_flst_removed        EQU        gxFirstSystemDebuggingWarning + 20
  427. translator_not_installed_on_this_grafport EQU        gxFirstSystemDebuggingWarning + 21
  428.  
  429. parameters_have_no_effect        EQU        gxFirstSystemNotice
  430. attributes_already_set            EQU        gxFirstSystemNotice + 1
  431. caps_already_set                EQU        gxFirstSystemNotice + 2
  432. clip_already_set                EQU        gxFirstSystemNotice + 3
  433. color_already_set                EQU        gxFirstSystemNotice + 4
  434. curve_error_already_set            EQU        gxFirstSystemNotice + 5
  435. dash_already_set                EQU        gxFirstSystemNotice + 6
  436. default_colorProfile_already_set EQU        gxFirstSystemNotice + 7
  437. default_ink_already_set            EQU        gxFirstSystemNotice + 8
  438. default_transform_already_set    EQU        gxFirstSystemNotice + 9
  439. default_shape_already_set        EQU        gxFirstSystemNotice + 10
  440. default_style_already_set        EQU        gxFirstSystemNotice + 11
  441. dither_already_set                EQU        gxFirstSystemNotice + 12
  442. encoding_already_set            EQU        gxFirstSystemNotice + 13
  443. face_already_set                EQU        gxFirstSystemNotice + 14
  444. fill_already_set                EQU        gxFirstSystemNotice + 15
  445. font_already_set                EQU        gxFirstSystemNotice + 16
  446. font_variations_already_set        EQU        gxFirstSystemNotice + 17
  447. glyph_positions_are_already_set    EQU        gxFirstSystemNotice + 18
  448. glyph_tangents_are_already_set    EQU        gxFirstSystemNotice + 19
  449. halftone_already_set            EQU        gxFirstSystemNotice + 20
  450. hit_test_already_set            EQU        gxFirstSystemNotice + 21
  451. ink_already_set                    EQU        gxFirstSystemNotice + 22
  452. join_already_set                EQU        gxFirstSystemNotice + 23
  453. justification_already_set        EQU        gxFirstSystemNotice + 24
  454. mapping_already_set                EQU        gxFirstSystemNotice + 25
  455. pattern_already_set                EQU        gxFirstSystemNotice + 26
  456. pen_already_set                    EQU        gxFirstSystemNotice + 27
  457. style_already_set                EQU        gxFirstSystemNotice + 28
  458. tag_already_set                    EQU        gxFirstSystemNotice + 29
  459. text_attributes_already_set        EQU        gxFirstSystemNotice + 30
  460. text_size_already_set            EQU        gxFirstSystemNotice + 31
  461. transfer_already_set            EQU        gxFirstSystemNotice + 32
  462. translator_already_installed_on_this_grafport EQU        gxFirstSystemNotice + 33
  463. transform_already_set            EQU        gxFirstSystemNotice + 34
  464. type_already_set                EQU        gxFirstSystemNotice + 35
  465. validation_level_already_set    EQU        gxFirstSystemNotice + 36
  466. viewPorts_already_set            EQU        gxFirstSystemNotice + 37
  467. viewPort_already_in_viewGroup    EQU        gxFirstSystemNotice + 38
  468. viewDevice_already_in_viewGroup    EQU        gxFirstSystemNotice + 39
  469. geometry_unaffected                EQU        gxFirstSystemNotice + 40
  470. mapping_unaffected                EQU        gxFirstSystemNotice + 41
  471. tags_in_shape_ignored            EQU        gxFirstSystemNotice + 42
  472. shape_already_in_primitive_form    EQU        gxFirstSystemNotice + 43
  473. shape_already_in_simple_form    EQU        gxFirstSystemNotice + 44
  474. shape_already_broken            EQU        gxFirstSystemNotice + 45
  475. shape_already_joined            EQU        gxFirstSystemNotice + 46
  476. cache_already_cleared            EQU        gxFirstSystemNotice + 47
  477. shape_not_disposed                EQU        gxFirstSystemNotice + 48
  478. style_not_disposed                EQU        gxFirstSystemNotice + 49
  479. ink_not_disposed                EQU        gxFirstSystemNotice + 50
  480. transform_not_disposed            EQU        gxFirstSystemNotice + 51
  481. colorSet_not_disposed            EQU        gxFirstSystemNotice + 52
  482. colorProfile_not_disposed        EQU        gxFirstSystemNotice + 53
  483. font_not_disposed                EQU        gxFirstSystemNotice + 54
  484. glyph_tangents_have_no_effect    EQU        gxFirstSystemNotice + 55
  485. glyph_positions_determined_by_advance EQU        gxFirstSystemNotice + 56
  486. transform_viewPorts_already_set    EQU        gxFirstSystemNotice + 57
  487. directShape_attribute_set_as_side_effect EQU        gxFirstSystemNotice + 58
  488. lockShape_called_as_side_effect    EQU        gxFirstSystemNotice + 59
  489. lockTag_called_as_side_effect    EQU        gxFirstSystemNotice + 60
  490. shapes_unlocked_as_side_effect    EQU        gxFirstSystemNotice + 61
  491. shape_not_locked                EQU        gxFirstSystemNotice + 62
  492. tag_not_locked                    EQU        gxFirstSystemNotice + 63
  493. profile_not_locked                EQU        tag_not_locked
  494. lockProfile_called_as_side_effect EQU        lockTag_called_as_side_effect
  495. disposed_dead_caches            EQU        gxFirstSystemNotice + 64
  496. disposed_live_caches            EQU        gxFirstSystemNotice + 65
  497. low_on_memory                    EQU        gxFirstSystemNotice + 66
  498. very_low_on_memory                EQU        gxFirstSystemNotice + 67
  499. transform_references_disposed_viewPort EQU        gxFirstSystemNotice + 68
  500.  
  501. ; typedef long                 gxGraphicsError
  502. ; typedef long                 gxGraphicsWarning
  503. ; typedef long                 gxGraphicsNotice
  504. ; typedef gxUserErrorProcPtr  gxUserErrorFunction
  505. ; typedef gxUserWarningProcPtr  gxUserWarningFunction
  506. ; typedef gxUserNoticeProcPtr  gxUserNoticeFunction
  507.  
  508. common_colors_not_initialized    EQU        gxFirstLibraryError
  509. no_open_picture                    EQU        gxFirstLibraryError + 1
  510. picture_already_open            EQU        gxFirstLibraryError + 2
  511. no_open_poly                    EQU        gxFirstLibraryError + 3
  512. poly_already_open                EQU        gxFirstLibraryError + 4
  513. no_open_region                    EQU        gxFirstLibraryError + 5
  514. region_already_open                EQU        gxFirstLibraryError + 6
  515. no_active_picture                EQU        gxFirstLibraryError + 7
  516.  
  517. no_picture_drawn                EQU        gxFirstLibraryWarning
  518. polygons_have_different_size_contours EQU        gxFirstLibraryWarning + 1
  519. graphic_type_cannot_be_specifed_by_four_values EQU        gxFirstLibraryWarning + 2
  520. graphic_type_cannot_be_specifed_by_six_values EQU        gxFirstLibraryWarning + 3
  521. point_expected                    EQU        gxFirstLibraryWarning + 4
  522. line_or_rectangle_expected        EQU        gxFirstLibraryWarning + 5
  523. curve_expected                    EQU        gxFirstLibraryWarning + 6
  524. graphic_type_does_not_contain_control_bits EQU        gxFirstLibraryWarning + 7
  525. request_exceeds_available_data    EQU        gxFirstLibraryWarning + 8
  526. extra_data_unread                EQU        gxFirstLibraryWarning + 9
  527. no_variable_length_user_data_saved EQU        gxFirstLibraryWarning + 10
  528.  
  529. zero_length_string_passed        EQU        gxFirstLibraryNotice
  530.  
  531.     graphicsDebuggingIncludes: SET 1
  532. ; These levels tell how to validate routines.  Choose one. 
  533. gxNoValidation                    EQU        $00                    ; no validation 
  534. gxPublicValidation                EQU        $01                    ; check parameters to public routines 
  535. gxInternalValidation            EQU        $02                    ; check parameters to internal routines 
  536. ; These levels tell how to validate types.  Choose one. 
  537. gxTypeValidation                EQU        $00                    ; check types of objects 
  538. gxStructureValidation            EQU        $10                    ; check fields of private structures 
  539. gxAllObjectValidation            EQU        $20                    ; check every object over every call 
  540. ; These levels tell how to validate memory manager blocks.  Choose any combination. 
  541. gxNoMemoryManagerValidation        EQU        $0000
  542. gxApBlockValidation                EQU        $0100                ; check the relevant block structures after each memory mgr. call 
  543. gxFontBlockValidation            EQU        $0200                ; check the system gxHeap as well 
  544. gxApHeapValidation                EQU        $0400                ; check the memory manager’s gxHeap after every mem. call 
  545. gxFontHeapValidation            EQU        $0800                ; check the system gxHeap as well 
  546. gxCheckApHeapValidation            EQU        $1000                ; check the memory manager’s gxHeap if checking routine parameters 
  547. gxCheckFontHeapValidation        EQU        $2000                ; check the system gxHeap as well 
  548.  
  549. ; typedef long                 gxValidationLevel
  550.  
  551. no_draw_error                    EQU        0
  552. ; gxShape type errors 
  553. shape_emptyType                    EQU        1
  554. shape_inverse_fullType            EQU        2
  555. rectangle_zero_width            EQU        3
  556. rectangle_zero_height            EQU        4
  557. polygon_empty                    EQU        5
  558. path_empty                        EQU        6
  559. bitmap_zero_width                EQU        7
  560. bitmap_zero_height                EQU        8
  561. text_empty                        EQU        9
  562. glyph_empty                        EQU        10
  563. layout_empty                    EQU        11
  564. picture_empty                    EQU        12
  565. ; general gxShape errors 
  566. shape_no_fill                    EQU        13
  567. shape_no_enclosed_area            EQU        14
  568. shape_no_enclosed_pixels        EQU        15
  569. shape_very_small                EQU        16
  570. shape_very_large                EQU        17
  571. shape_contours_cancel            EQU        18
  572. ; gxStyle errors 
  573. pen_too_small                    EQU        19
  574. text_size_too_small                EQU        20
  575. dash_empty                        EQU        21
  576. start_cap_empty                    EQU        22
  577. pattern_empty                    EQU        23
  578. textFace_empty                    EQU        24
  579. shape_primitive_empty            EQU        25
  580. shape_primitive_very_small        EQU        26
  581. ; gxInk errors 
  582. transfer_equals_noMode            EQU        27
  583. transfer_matrix_ignores_source    EQU        28
  584. transfer_matrix_ignores_device    EQU        29
  585. transfer_source_reject            EQU        30
  586. transfer_mode_ineffective        EQU        31
  587. colorSet_no_entries                EQU        32
  588. bitmap_colorSet_one_entry        EQU        33
  589. ; gxTransform errors 
  590. transform_scale_too_small        EQU        34
  591. transform_map_too_large            EQU        35
  592. transform_move_too_large        EQU        36
  593. transform_scale_too_large        EQU        37
  594. transform_rotate_too_large        EQU        38
  595. transform_perspective_too_large    EQU        39
  596. transform_skew_too_large        EQU        40
  597. transform_clip_no_intersection    EQU        41
  598. transform_clip_empty            EQU        42
  599. transform_no_viewPorts            EQU        43
  600. ; gxViewPort errors 
  601. viewPort_disposed                EQU        44
  602. viewPort_clip_empty                EQU        45
  603. viewPort_clip_no_intersection    EQU        46
  604. viewPort_scale_too_small        EQU        47
  605. viewPort_map_too_large            EQU        48
  606. viewPort_move_too_large            EQU        49
  607. viewPort_scale_too_large        EQU        50
  608. viewPort_rotate_too_large        EQU        51
  609. viewPort_perspective_too_large    EQU        52
  610. viewPort_skew_too_large            EQU        53
  611. viewPort_viewGroup_offscreen    EQU        54
  612. ; gxViewDevice errors 
  613. viewDevice_clip_no_intersection    EQU        55
  614. viewDevice_scale_too_small        EQU        56
  615. viewDevice_map_too_large        EQU        57
  616. viewDevice_move_too_large        EQU        58
  617. viewDevice_scale_too_large        EQU        59
  618. viewDevice_rotate_too_large        EQU        60
  619. viewDevice_perspective_too_large EQU        61
  620. viewDevice_skew_too_large        EQU        62
  621.  
  622. ; typedef long                 gxDrawError
  623. ;
  624. ; gxDrawError GXGetShapeDrawError(gxShape source)
  625. ;
  626.     IF ¬ GENERATINGCFM THEN
  627.         Macro
  628.         _GXGetShapeDrawError
  629.             move.w    #$1ee,d0
  630.             dc.w     $A832
  631.         EndM
  632.     ELSE
  633.         IMPORT_CFM_FUNCTION    GXGetShapeDrawError
  634.     ENDIF
  635.  
  636. ;
  637. ; void GXValidateAll(void)
  638. ;
  639.     IF ¬ GENERATINGCFM THEN
  640.         Macro
  641.         _GXValidateAll
  642.             move.w    #$1ef,d0
  643.             dc.w     $A832
  644.         EndM
  645.     ELSE
  646.         IMPORT_CFM_FUNCTION    GXValidateAll
  647.     ENDIF
  648.  
  649. ;
  650. ; void GXValidateColorSet(gxColorSet target)
  651. ;
  652.     IF ¬ GENERATINGCFM THEN
  653.         Macro
  654.         _GXValidateColorSet
  655.             move.w    #$1f0,d0
  656.             dc.w     $A832
  657.         EndM
  658.     ELSE
  659.         IMPORT_CFM_FUNCTION    GXValidateColorSet
  660.     ENDIF
  661.  
  662. ;
  663. ; void GXValidateColorProfile(gxColorProfile target)
  664. ;
  665.     IF ¬ GENERATINGCFM THEN
  666.         Macro
  667.         _GXValidateColorProfile
  668.             move.w    #$1f1,d0
  669.             dc.w     $A832
  670.         EndM
  671.     ELSE
  672.         IMPORT_CFM_FUNCTION    GXValidateColorProfile
  673.     ENDIF
  674.  
  675. ;
  676. ; void GXValidateGraphicsClient(gxGraphicsClient target)
  677. ;
  678.     IF ¬ GENERATINGCFM THEN
  679.         Macro
  680.         _GXValidateGraphicsClient
  681.             move.w    #$1f2,d0
  682.             dc.w     $A832
  683.         EndM
  684.     ELSE
  685.         IMPORT_CFM_FUNCTION    GXValidateGraphicsClient
  686.     ENDIF
  687.  
  688. ;
  689. ; void GXValidateInk(gxInk target)
  690. ;
  691.     IF ¬ GENERATINGCFM THEN
  692.         Macro
  693.         _GXValidateInk
  694.             move.w    #$1f3,d0
  695.             dc.w     $A832
  696.         EndM
  697.     ELSE
  698.         IMPORT_CFM_FUNCTION    GXValidateInk
  699.     ENDIF
  700.  
  701. ;
  702. ; void GXValidateShape(gxShape target)
  703. ;
  704.     IF ¬ GENERATINGCFM THEN
  705.         Macro
  706.         _GXValidateShape
  707.             move.w    #$1f4,d0
  708.             dc.w     $A832
  709.         EndM
  710.     ELSE
  711.         IMPORT_CFM_FUNCTION    GXValidateShape
  712.     ENDIF
  713.  
  714. ;
  715. ; void GXValidateStyle(gxStyle target)
  716. ;
  717.     IF ¬ GENERATINGCFM THEN
  718.         Macro
  719.         _GXValidateStyle
  720.             move.w    #$1f5,d0
  721.             dc.w     $A832
  722.         EndM
  723.     ELSE
  724.         IMPORT_CFM_FUNCTION    GXValidateStyle
  725.     ENDIF
  726.  
  727. ;
  728. ; void GXValidateTag(gxTag target)
  729. ;
  730.     IF ¬ GENERATINGCFM THEN
  731.         Macro
  732.         _GXValidateTag
  733.             move.w    #$1f6,d0
  734.             dc.w     $A832
  735.         EndM
  736.     ELSE
  737.         IMPORT_CFM_FUNCTION    GXValidateTag
  738.     ENDIF
  739.  
  740. ;
  741. ; void GXValidateTransform(gxTransform target)
  742. ;
  743.     IF ¬ GENERATINGCFM THEN
  744.         Macro
  745.         _GXValidateTransform
  746.             move.w    #$1f7,d0
  747.             dc.w     $A832
  748.         EndM
  749.     ELSE
  750.         IMPORT_CFM_FUNCTION    GXValidateTransform
  751.     ENDIF
  752.  
  753. ;
  754. ; void GXValidateViewDevice(gxViewDevice target)
  755. ;
  756.     IF ¬ GENERATINGCFM THEN
  757.         Macro
  758.         _GXValidateViewDevice
  759.             move.w    #$1f8,d0
  760.             dc.w     $A832
  761.         EndM
  762.     ELSE
  763.         IMPORT_CFM_FUNCTION    GXValidateViewDevice
  764.     ENDIF
  765.  
  766. ;
  767. ; void GXValidateViewPort(gxViewPort target)
  768. ;
  769.     IF ¬ GENERATINGCFM THEN
  770.         Macro
  771.         _GXValidateViewPort
  772.             move.w    #$1f9,d0
  773.             dc.w     $A832
  774.         EndM
  775.     ELSE
  776.         IMPORT_CFM_FUNCTION    GXValidateViewPort
  777.     ENDIF
  778.  
  779. ;
  780. ; void GXValidateViewGroup(gxViewGroup target)
  781. ;
  782.     IF ¬ GENERATINGCFM THEN
  783.         Macro
  784.         _GXValidateViewGroup
  785.             move.w    #$1fa,d0
  786.             dc.w     $A832
  787.         EndM
  788.     ELSE
  789.         IMPORT_CFM_FUNCTION    GXValidateViewGroup
  790.     ENDIF
  791.  
  792. ;
  793. ; gxValidationLevel GXGetValidation(void)
  794. ;
  795.     IF ¬ GENERATINGCFM THEN
  796.         Macro
  797.         _GXGetValidation
  798.             move.w    #$1fb,d0
  799.             dc.w     $A832
  800.         EndM
  801.     ELSE
  802.         IMPORT_CFM_FUNCTION    GXGetValidation
  803.     ENDIF
  804.  
  805. ;
  806. ; void GXSetValidation(gxValidationLevel level)
  807. ;
  808.     IF ¬ GENERATINGCFM THEN
  809.         Macro
  810.         _GXSetValidation
  811.             move.w    #$1fc,d0
  812.             dc.w     $A832
  813.         EndM
  814.     ELSE
  815.         IMPORT_CFM_FUNCTION    GXSetValidation
  816.     ENDIF
  817.  
  818. ;
  819. ; long GXGetValidationError(char *procedureName, void **argument, long *argumentNumber)
  820. ;
  821.     IF ¬ GENERATINGCFM THEN
  822.         Macro
  823.         _GXGetValidationError
  824.             move.w    #$1fd,d0
  825.             dc.w     $A832
  826.         EndM
  827.     ELSE
  828.         IMPORT_CFM_FUNCTION    GXGetValidationError
  829.     ENDIF
  830.  
  831. ;
  832. ; gxUserDebugFunction GXGetUserGraphicsDebug(long *reference)
  833. ;
  834.     IF ¬ GENERATINGCFM THEN
  835.         Macro
  836.         _GXGetUserGraphicsDebug
  837.             move.w    #$1ff,d0
  838.             dc.w     $A832
  839.         EndM
  840.     ELSE
  841.         IMPORT_CFM_FUNCTION    GXGetUserGraphicsDebug
  842.     ENDIF
  843.  
  844. ;
  845. ; void GXSetUserGraphicsDebug(gxUserDebugFunction userFunction, long reference)
  846. ;
  847.     IF ¬ GENERATINGCFM THEN
  848.         Macro
  849.         _GXSetUserGraphicsDebug
  850.             move.w    #$200,d0
  851.             dc.w     $A832
  852.         EndM
  853.     ELSE
  854.         IMPORT_CFM_FUNCTION    GXSetUserGraphicsDebug
  855.     ENDIF
  856.  
  857.     ENDIF ; __GXERRORS__
  858.